@import "base.scss";
@import "mixin.scss";

//iframePlayer
.iframePlayer {
    width: 100%;
    height: 40 * $fontSize10;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    .cover {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -webkit-filter: blur($fontSize16 / 2);
        filter: blur($fontSize16 / 2);
        background: rgba(0,0,0,.6);
        z-index: 10;
    }
    &:hover {
        .cover {
            -webkit-filter: blur(0px);
            filter: blur(0px);
            background: rgba(0,0,0,0);
        }
    }
    .playIcon {
        top: 0;
        left: 0;
        width: 4 * $fontSize10;
        height: $fontSize20 + 5;
        line-height: $fontSize20 + 5;
        font-size: $fontSize16;
        color: $colorea;
        @include borderRadius(0 0 $fontSize10 / 2 0);
        background: rgba(0,0,0,.6);
        z-index: 9;
    }
    .living {
        width: 7 * $fontSize10;
        top: 45%;
        left: 50%;
        margin-left: - (3 * $fontSize10 + 5);
        font-size: $fontSize16;
        color: $colorea;
        z-index: 10;
        .livingIcon {
            width: 6 * $fontSize10;
            height: 4 * $fontSize10;
            margin: 0 auto;
            background: url("../img/icons/signal.gif") no-repeat center;
        }
    }
    .lockCover {
        top: 35%;
        left: 50%;
        margin-left: - 4 * $fontSize12;
        font-size: 5 * $fontSize10;
        color: $colorea;
        z-index: 19;
        i {
            margin:0 auto;
        }
        a {
            width: 10 * $fontSize10;
            height: 3 * $fontSize10;
            line-height: 3 * $fontSize10;
            margin-top: $fontSize10;
            font-size: $fontSize12;
            color: $colorea;
            @include border($fontSize10 / 5,solid,$colorea);
            &:hover {
                background: rgba(255,255,255,0.2);
            }
        }
    }
    .infoMsg {
        width: 100%;
        height: 100%;
        background: $color333;
        .pic {
            margin: 6 * $fontSize10 + 5 auto $fontSize10;
            padding: $fontSize16 / 2 0;
            width: 12 * $fontSize10;
            height: 16 * $fontSize10;
            background: url("../img/icons/index.png") no-repeat center;
            background-size: 80%;
        }
        .text {
            font-size: $fontSize14;
            color: $colorea;
            margin-bottom: $fontSize14 + 1;
            a {
                @include link-colors(#bbb,$colorea);
            }
            .question {
                margin-right: $fontSize14 + 1;
            }
        }
    }
    .timeInfo {
        width: 100%;
        height: 100%;
        cursor: pointer;
        .defaultPic {
            width: 100%;
            height: 100%;
            background-image: url("../img/personalCenter/livingCover.jpg");
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }
        .time {
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            font-size: 2 * $fontSize14;
            color: $colorfff;
            background: rgba(0,0,0,.5);
            z-index: 19;
            p {
                margin-top: 19 * $fontSize10;
            }
            span {
                font-size: 3 * $fontSize10;
                color: $colorred;
            }
        }
    }
    &.activity {
        .time p {
            margin-top: 15 * $fontSize10;
        }
        .btns {
            top: 0;
            left: 0;
            width:100%;
            margin-top: 21 * $fontSize10;
            z-index: 19;
            a {
                height: 3 * $fontSize10 + 5;
                line-height: 3 * $fontSize10 + 5;
                font-size: $fontSize14;
                color: $colorfff;
                padding:0 $fontSize18;
                margin-right: 4 * $fontSize10;
                @include border($fontSize10 / 5,solid,$colorfff);
                &:last-child {
                    margin-right: 0;
                }
                &:hover {
                    background: rgba(255,255,255,.2);
                }
                &.buy {
                    border-color: $theme;
                    background: $theme;
                    i {
                        font-size: $fontSize18;
                        vertical-align: top;
                        margin-top: $fontSize18 / 2;
                    }
                    &:hover {
                        border-color: $darkTheme;
                        background: $darkTheme;
                    }
                }
            }
        }
    }
}
